package com.erp.erp_entitys.InspectCargo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Objects;

/**
 * 验货商检 产品
 */
public class InspectCargoAndProduct {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 验货单号
     */
    private String oddNumber;
    /**
     * 验货类型
     */
    private String inspectType;
    /**
     * 验货地址
     */
    private String address;
    /**
     * 验货日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date inspectTime;
    /**
     * 要求期限
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date timeLimit;
    /**
     * 验货公司
     */
    private String company;
    /**
     * 验货费用
     */
    private BigDecimal cost;
    /**
     * 验货阶段
     * 0 未验
     * 1 初验（通过）
     * 2 中验（未通过）
     * 3 尾验（未通过）
     */
    private String stage;
    /**
     * 出运计划单号
     */
    private String loadPlanNo;
    /**
     * 业务员
     */
    private String inspector;
    /**
     * 操作员
     */
    private String executor;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
	/**
	 * 制单公司
	 */
	private String complaintUnit;
	/**
	 * 备注
	 */
	private String remark;
    /**
     * 箱体状态
     * 0：待验货
     * 1：草稿
     * 2：待批
     * 3：已批
     * 4：完成
     * 5：垃圾
     */
    private String boxStatus;
    /**
     * 审批时间
     */
    private Date approveTime;
    /**
     * 产品id
     */
    private Integer productId;
    /**
     * 产品编码
     */
    private String productNo;
    /**
     * 规格编码
     */
    private String specNo;
    /**
     * 规格说明
     */
    private String normExplain;
    /**
     * 中文名称
     */
    private String chineseName;
    /**
     * 英文名称
     */
    private String englishName;
    /**
     * 中文描述
     */
    private String chineseDesc;
    /**
     * 英文描述
     */
    private String englishDesc;
    /**
     * 单位
     */
    private String unit;
    /**
     * 颜色
     */
    private String colour;
    /**
     * 单价
     */
    private BigDecimal price;
    /**
     * 数量
     */
    private BigDecimal amount;
    /**
     * 金额小计
     */
    private BigDecimal priceSubtotal;
    /**
     * 供应商
     */
    private String supplier;
    /**
     * 成本单价
     */
    private BigDecimal unitCost;
    /**
     * 销售合同号
     */
    private String salesContractNo;
    /**
     * 采购单号
     */
    private String purchaseOrderNo;
    /**
     * 图片
     */
    private String productImg;
    /**
     * 产品类型
     */
    private String productType;
    /**
     * 剩余数量
     */
    private Integer lastAmount;
    /**
     * 供应商id
     */
    private String supplierId;
    /**
     * 供应商名称
     */
    private String supplierName;
    /**
     * 出运计划id
     */
    private String carryPlanId;
    /**
     * 产品 出运计划单号
     */
    private String productLoadPlanNo;
    /**
     * 业务员编码
     */
    private String inspectorCode;
    /**
     * 业务员名称
     */
    private String inspectorName;
    /**
     * 采购单号id
     */
    private String stockId;
    /**
     * 验货id外键
     */
    private Integer inspectCargoId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOddNumber() {
        return oddNumber;
    }

    public void setOddNumber(String oddNumber) {
        this.oddNumber = oddNumber;
    }

    public String getInspectType() {
        return inspectType;
    }

    public void setInspectType(String inspectType) {
        this.inspectType = inspectType;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getInspectTime() {
        return inspectTime;
    }

    public void setInspectTime(Date inspectTime) {
        this.inspectTime = inspectTime;
    }

    public Date getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(Date timeLimit) {
        this.timeLimit = timeLimit;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public String getProductLoadPlanNo() {
        return productLoadPlanNo;
    }

    public void setProductLoadPlanNo(String productLoadPlanNo) {
        this.productLoadPlanNo = productLoadPlanNo;
    }

    public String getInspector() {
        return inspector;
    }

    public void setInspector(String inspector) {
        this.inspector = inspector;
    }

    public String getComplaintUnit() {
        return complaintUnit;
    }

    public void setComplaintUnit(String complaintUnit) {
        this.complaintUnit = complaintUnit;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getExecutor() {
        return executor;
    }

    public void setExecutor(String executor) {
        this.executor = executor;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getBoxStatus() {
        return boxStatus;
    }

    public void setBoxStatus(String boxStatus) {
        this.boxStatus = boxStatus;
    }

    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public String getSpecNo() {
        return specNo;
    }

    public void setSpecNo(String specNo) {
        this.specNo = specNo;
    }

    public String getNormExplain() {
        return normExplain;
    }

    public void setNormExplain(String normExplain) {
        this.normExplain = normExplain;
    }

    public String getChineseName() {
        return chineseName;
    }

    public void setChineseName(String chineseName) {
        this.chineseName = chineseName;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public String getChineseDesc() {
        return chineseDesc;
    }

    public void setChineseDesc(String chineseDesc) {
        this.chineseDesc = chineseDesc;
    }

    public String getEnglishDesc() {
        return englishDesc;
    }

    public void setEnglishDesc(String englishDesc) {
        this.englishDesc = englishDesc;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getPriceSubtotal() {
        return priceSubtotal;
    }

    public void setPriceSubtotal(BigDecimal priceSubtotal) {
        this.priceSubtotal = priceSubtotal;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public BigDecimal getUnitCost() {
        return unitCost;
    }

    public void setUnitCost(BigDecimal unitCost) {
        this.unitCost = unitCost;
    }

    public String getSalesContractNo() {
        return salesContractNo;
    }

    public void setSalesContractNo(String salesContractNo) {
        this.salesContractNo = salesContractNo;
    }

    public String getPurchaseOrderNo() {
        return purchaseOrderNo;
    }

    public void setPurchaseOrderNo(String purchaseOrderNo) {
        this.purchaseOrderNo = purchaseOrderNo;
    }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public Integer getLastAmount() {
        return lastAmount;
    }

    public void setLastAmount(Integer lastAmount) {
        this.lastAmount = lastAmount;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getCarryPlanId() {
        return carryPlanId;
    }

    public void setCarryPlanId(String carryPlanId) {
        this.carryPlanId = carryPlanId;
    }

    public String getLoadPlanNo() {
        return loadPlanNo;
    }

    public void setLoadPlanNo(String loadPlanNo) {
        this.loadPlanNo = loadPlanNo;
    }

    public String getInspectorCode() {
        return inspectorCode;
    }

    public void setInspectorCode(String inspectorCode) {
        this.inspectorCode = inspectorCode;
    }

    public String getInspectorName() {
        return inspectorName;
    }

    public void setInspectorName(String inspectorName) {
        this.inspectorName = inspectorName;
    }

    public Integer getInspectCargoId() {
        return inspectCargoId;
    }

    public void setInspectCargoId(Integer inspectCargoId) {
        this.inspectCargoId = inspectCargoId;
    }

    public String getStockId() {
        return stockId;
    }

    public void setStockId(String stockId) {
        this.stockId = stockId;
    }
}